﻿<Window x:Class="Shiny.SmartTravel.SplashWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="SmartTravel is Loading" Height="250" Width="390" ShowInTaskbar="False" WindowStyle="None" WindowStartupLocation="CenterScreen" AllowsTransparency="True"
    Background="{x:Null}" Topmost="True"
    ContentRendered="Window_ContentRendered">
    <Grid RenderTransformOrigin="0.5,0.5">
        <Grid.RenderTransform>
            <TransformGroup>
                <ScaleTransform ScaleX="1" ScaleY="1"/>
                <SkewTransform AngleX="0" AngleY="0"/>
                <RotateTransform Angle="0"/>
                <TranslateTransform X="0" Y="0"/>
            </TransformGroup>
        </Grid.RenderTransform>
        <Rectangle Margin="10,10,10,10">
            <Rectangle.BitmapEffect>
                <OuterGlowBitmapEffect GlowColor="Gray" GlowSize="10" Opacity="0.8"/>
            </Rectangle.BitmapEffect>
            <Rectangle.Fill>
                <ImageBrush ImageSource="res/splash.jpg" />
            </Rectangle.Fill>
        </Rectangle>
        <Label Height="50" HorizontalAlignment="Left" Margin="30,30,0,0" VerticalAlignment="Top" Width="300" Foreground="DarkBlue" FontSize="40" FontWeight="Bold">SmartTravel</Label>
        <Label Height="25" Margin="30,86,38,0" VerticalAlignment="Top" Foreground="Green" FontSize="12" FontWeight="Bold">Your smart travel info manager.</Label>
        <Label Height="23" HorizontalAlignment="Left" Margin="30,0,0,25" VerticalAlignment="Bottom" Width="120" Foreground="White">Loading...</Label>
        <Label Height="23" HorizontalAlignment="Left" Margin="30,0,0,70" VerticalAlignment="Bottom" Width="300">Copyright 2008 Shiny Cretive.</Label>
        <Label Height="23" HorizontalAlignment="Left" Margin="30,0,0,50" VerticalAlignment="Bottom" Width="300">Travel info supported by xutour.com</Label>
    </Grid>
</Window>
